<script type="text/javascript">
	[#if node??]$("#node_views").load("${ctx}/node_views/${node.id}.jspx?d="+new Date()*1);[/#if]
</script>
<div class="scrolltop" id=goTopBtn><img src="_files/images/scrolltop.png"></div>
<SCRIPT type=text/javascript>goTopEx();</SCRIPT>
<div class="header_top">  
    <div class="w960 center">  
     <span id="time" class="time">JSPXCMS - 按您所需，力求完美！</span>
     <div class="toplinks">
    <script language="javascript">
    var day="";
    var month="";
    var ampm="";
    var ampmhour="";
    var myweekday="";
    var year="";
    mydate=new Date();
    myweekday=mydate.getDay();
    mymonth=mydate.getMonth()+1;
    myday= mydate.getDate();
    year= mydate.getFullYear();
    if(myweekday == 0)
    weekday=" 星期日 ";
    else if(myweekday == 1)
    weekday=" 星期一 ";
    else if(myweekday == 2)
    weekday=" 星期二 ";
    else if(myweekday == 3)
    weekday=" 星期三 ";
    else if(myweekday == 4)
    weekday=" 星期四 ";
    else if(myweekday == 5)
    weekday=" 星期五 ";
    else if(myweekday == 6)
    weekday=" 星期六 ";
    document.write("<span style='color:#256EB1;'>"+year+"年"+mymonth+"月"+myday+"日 "+weekday+"</span>");
    </script>
<a href="" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jspxcms.com');">[设为首页]</a><a href="javascript:window.external.AddFavorite('www.jspxcms.com','JSPXCMS演示站')">[加入收藏]</a></span></div>
    </div> 
</div>
<div class="header">
	<div class="top w960 center">
      <div class="title">
        <h1><a href="http://www.jspxcms.com">
        <img src="_files/images/logo.png" height="90" width="240" alt="JSPXCMS演示站"/></a> </h1>
      </div>
      <div class="banner"><img src="_files/images/banner.jpg"></div>      
	</div><!-- //top -->
	<!-- //菜单 -->
	<div class="module blue mT10 wrapper w963">
  	<div class="top">
    	<!-- //如果不使用currentstyle，可以在channel标签加入 cacheid='channeltoplist' 属性提升性能 -->
    <div id="navMenu">
    	<ul>
        [@NodeList;list]
        <li><a href='${ctx}/'><span>首页</span></a></li>  
		[#list list as node]
 		 <li><a href="${node.url}"><span>${node.name}</span></a></li>
		[/#list]
		[/@NodeList]    	
    	</ul>
    </div>	
    <div class="search">
      <form  name="formsearch" action="${ctx}/search.jspx">
        <div class="form">
          <h4>搜索</h4>
           <input name="q" type="text" class="search-keyword" id="search-keyword" value="${Param.q!'在这里搜索...'}"  onfocus="if(this.value=='在这里搜索...'){this.value='';}"  onblur="if(this.value==''){this.value='在这里搜索...';}" />
          <button type="submit" class="search-submit">搜索</button>
        </div>
        </form>
        <div class="tags">
          <h4>热门标签:</h4>
          <ul>
          [@TagList sort='refers desc' limit=4;list]
		  [#list list as tag]
          <li><a href="${ctx}/tag/${tag.id?url}.jspx" target="_blank">${tag.name}</a></li>
		[/#list]
		[/@TagList]
          </ul>
        </div>
    </div><!-- //search -->
		</div>
	</div>
</div><!-- //header -->


